package com.wanho.java157.crm.systemSettings.manage.service.impl;

import com.wanho.java157.crm.systemSettings.manage.mapper.EmployeeMapper;
import com.wanho.java157.crm.systemSettings.manage.po.Employee;
import com.wanho.java157.crm.systemSettings.manage.service.EmployeeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class EmployeeServiceImpl implements EmployeeService {
    @Autowired
    private EmployeeMapper employeeMapper ;
    @Override
    public List<Employee> selectEmployeeAndDepartmentAndPosition() {
        return employeeMapper.selectEmployeeAndDepartmentAndPosition();
    }
}
